cc=g++
MODE=-ljsoncpp -DJSON

.PHONY:all
all:CalculatorServer CalculatorClient

CalculatorServer:CalculatorServer.cc
	${cc} -o $@ $^ -std=c++11 ${MODE}

CalculatorClient:CalculatorClient.cc
	${cc} -o $@ $^ -std=c++11 ${MODE}

.PHONY:clean
clean:
	rm -rf CalculatorClient CalculatorServer